
from django.contrib import admin
from django.urls import path
from functions.views import (loginview,Search_functions,addfile,
                             getfile,searchfile,downloadfile,comment,writecomment,history)
urlpatterns = [
    path('admin/', admin.site.urls),
    path('login/', loginview.as_view()),
    #url(r'^login/',views.loginview.as_view()),
    path('functions/',Search_functions.as_view()),
    path('addfile/',addfile.as_view()),
    path('getfile/',getfile.as_view()),
    path('searchfile/',searchfile.as_view()),
    path('downloadfile/',downloadfile.as_view()),
    path('comment/',comment.as_view()),
    path('writecomment/',writecomment.as_view()),
    path('history/',history.as_view())

]
